export type MerchantStatus = 'open' | 'closed' | 'outOfService';

export interface Merchant {
  id: string;
  name: string;
  address: string;
  logo?: string;
  status: MerchantStatus;
  distance: string; // 距离，如 "0.5km"
  availableCount: number; // 可租借数量
  returnCount: number; // 可归还数量
  businessHours?: string;
  latitude?: number;
  longitude?: number;
}

export type MerchantTabType = 'rent' | 'return' | 'all';
